// 应用一个全局的变量
@import "../../../assets/less/global_style";

#singleControl {
  .equal-size();
  .title {
    height: 50px;;
    margin-bottom: 10px;
    font: @font22;
    font-weight: 600;
    line-height: 50px;
    text-align: center;
  }

  .content {
    height: calc(~"100% - 60px");
    overflow: hidden;
    &>div {
      height: 100%;
      width: calc(~"50% - 10px");
      margin: 0 5px;
    }
    .left {
      float: left;
      .display-wrap {
        position: relative;
        width: 100%;
        height: 60%;
        div {
          position: absolute;
          .block-left-center();
          .block-top-center();
          transform: translate(-50%, -50%);
          width: 80%;
          height: 70%;
          background-color: @bkBlue;
        }
      }
      .buttons {
        margin-top: 40px;
        height: calc(~"30% - 40px");
        text-align: center;
        button {
          margin: 10px 40px;
          width:100px;
        }
      }
    }
    .right {
      float: right;
      .dynamic-describe {
        height: calc(~"50% - 40px");
        #EChartCircle {
          width: 100%;
          height: 100%;
        }
      }
      .control-info {
        height: 50%;
        margin-top: 20px;

        fieldset {
          min-width: 100%;
          border: @lineGray;
          padding: 20px;
          legend {
            width: fit-content;
            border-bottom: none;
            margin-bottom: 0;
          }
          p {
            width: 100%;
            height: 30px;
            line-height: 30px;
            span:nth-child(1) {
              display: inline-block;
              width: 100px;
              font-weight: 600;
              text-align: right;
            }
            span:nth-child(2) {
              margin-left: 20px;
              font-size: 13px;
              color: @fontGray;
            }
          }
          ul li {
            p {
              display: inline-block;
              width: calc(~"50% - 20px");
            }
            p:nth-child(2) {
              margin-left: 20px;
            }
          }
        }
      }
    }
  }
}